function authHeader() {
    // return authorization header with jwt token
    let user = JSON.parse(localStorage.getItem('user'));

    if (user && user.token) {
        return { 'Authorization': 'Token ' + user.token,'Content-Type': 'application/json' };
    } else {
        return {'Content-Type': 'application/json'};
    }
}
//const host='http://host.com:8000'
const host='http://enjoyfind.com:8000'
export {host,authHeader}